[package]
name = "pager_bs"
version = "0.1.0"
edition = "2021"
authors = ["Dmitry Zhiltsov <dmitriy@pushamp.com>"]


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
subprocess = "0.2.8"
clap = { version = "4.2.4", features = ["env", "derive"]}
serde = { version = "1" }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
log = "0.4"
lazy_static = "1.4.0"
pretty_env_logger = "0.4.0"
derive_builder = "0.12.0"
tokio = { version =  "1.8", features = ["rt-multi-thread", "macros"] }
rdkafka = { version = "0.29", features = ["cmake-build", "ssl-vendored", "gssapi-vendored", "libz-static"] }
actix-web = "4"

[profile.release]
opt-level = 'z'     # Optimize for size
lto = true          # Enable link-time optimization
codegen-units = 1   # Reduce number of codegen units to increase optimizations
panic = 'abort'     # Abort on panic
strip = true

